import request from '../request.js'
// 隐私协议
function appoint (data){
	return request({
		url:'/merchant/common/appoint',
		method:'post',
		data
	})
}
// 登录
function accountLogin (data){
	return request({
		url:'/merchant/login/account-login',
		method:'POST',
		data
	})
}
// 获取用户信息
function getInfo (data){
	return request({
		url:'/merchant/user/getInfo',
		method:'post',
		data
	})
}
// 验证码登录
function phoneLogin (data){
	return request({
		url:'/merchant/login/phone-login',
		method:'post',
		data
	})
}
// 获取验证码
function sms (data){
	return request({
		url:'/merchant/common/sms',
		method:'post',
		data
	})
}

export{
	appoint,
	accountLogin,
	getInfo,
	phoneLogin,
	sms
}